package xyz.zhzby.cyzx.oj.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author zby
 * @date 2022/01/18
 */
@Data
@ApiModel("试题添加封装")
public class ProblemAddRequest {

    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "试题序号")
    private Integer number;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "最大运行时间")
    private Integer timeLimit;

    @ApiModelProperty(value = "最大运行内存")
    private Integer memoryLimit;

    @ApiModelProperty(value = "试题描述")
    private String describe;

    @ApiModelProperty(value = "提示")
    private String hint;

    @ApiModelProperty(value = "状态（0草稿1发布2回收站）")
    private Integer status;

    @ApiModelProperty(value = "标签ID列表")
    private List<Long> categoryIds;

    @ApiModelProperty(value = "测试点")
    private List<CheckPointAddRequest> checkPoints;

}
